const { ccclass, property } = cc._decorator;
import BasePageCtrl, { AnimType } from "./BasePageCtrl";
import MatchGameFailTipPage from "./MatchGameFailTipPage";

@ccclass
export default class MatchGameFailTipPageCtrl extends BasePageCtrl {
    @property(cc.Node)
    ui = null;

    onLoad() {
        super.onLoad();
        this.onUILoad();
        this._animType = AnimType.FADE;
        this._touchControl = false;
        this._hasPeneLock = false;
        this._hasBlack = false;
        this._hasTouchLock = false;
        this.addButtonListen();
    }

    start() {}

    onUILoad() {
        this.ui = this.node.addComponent(MatchGameFailTipPage);
    }

    addButtonListen() {}

    clickClose() {
        this.hide();
    }
}

MatchGameFailTipPageCtrl.prefabUrl = "MatchGameFailTipPage";
MatchGameFailTipPageCtrl.className = "MatchGameFailTipPageCtrl";
